﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimaLims.Core.Entity.System
{
    /// <summary>
    /// 站内消息内容
    /// </summary>
    [Comment("站内消息内容")]
    public class MessageContent : DEntityTenant
    {
        /// <summary>
        /// 标题
        /// </summary>
        [Comment("标题")]
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [Comment("内容")]
        public string Content { get; set; }

        /// <summary>
        /// 参数
        /// </summary>
        [Comment("参数")]
        public long? ParamId { get; set; }

        /// <summary>
        /// 业务标签
        /// </summary>
        [Comment("业务标签")]
        public string Tag { get; set; }

        /// <summary>
        /// 业务路由
        /// </summary>
        [Comment("业务路由")]
        public string Url { get; set; }

        /// <summary>
        /// 接收人集合
        /// </summary>
        public ICollection<SysMessage> SysMessages { get; set; }
    }
}
